////////////////////////////////////////////////////////////////////////////
//
// Copyright 2018 Realm Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////

@import "~realm-studio-styles/variables";

@keyframes pulsing {
  0% {
    transform: scale(.7);
  }

  15% {
    transform: scale(1);
  }

  33% {
    transform: scale(.7);
  }
}

.LoadingDots {
  height: 1em;
  vertical-align: middle;
  width: auto;

  &__dot-1,
  &__dot-2,
  &__dot-3 {
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-name: pulsing;
    transform: scale(.7);
    transform-box: fill-box;
    transform-origin: center;
  }

  &__dot-2 {
    animation-delay: .33s;
  }

  &__dot-3 {
    animation-delay: .66s;
  }
}
